import { combineReducers } from 'redux'
import {configureStore} from '@reduxjs/toolkit'
import userReducer from './userReducer'

const rootReducer = combineReducers({
	user: userReducer,
})

const store = configureStore({
	reducer: rootReducer,
	middleware: (getDefaultMiddleware) =>
		getDefaultMiddleware({serializableCheck: false})
})

export default store;